package com.ruoyi.service;

import java.util.List;
import com.ruoyi.domain.AdvDevicerelation;
import com.ruoyi.utils.SimpleResult;

/**
 * Service接口
 *
 * @author ruoyi
 * @date 2024-06-21
 */
public interface IAdvDevicerelationService
{
    /**
     * 查询
     *
     * @param advDevicerelationId 主键
     * @return
     */
    public AdvDevicerelation selectAdvDevicerelationByAdvDevicerelationId(Long advDevicerelationId);

    /**
     * 查询列表
     *
     * @param advDevicerelation
     * @return 集合
     */
    public List<AdvDevicerelation> selectAdvDevicerelationList(AdvDevicerelation advDevicerelation);

    /**
     * 新增
     *
     * @param advDevicerelation
     * @return 结果
     */
    public int insertAdvDevicerelation(AdvDevicerelation advDevicerelation);

    /**
     * 修改
     *
     * @param advDevicerelation
     * @return 结果
     */
    public int updateAdvDevicerelation(AdvDevicerelation advDevicerelation);

    /**
     * 批量删除
     *
     * @param advDevicerelationIds 需要删除的主键集合
     * @return 结果
     */
    public int deleteAdvDevicerelationByAdvDevicerelationIds(Long[] advDevicerelationIds);

    /**
     * 删除信息
     *
     * @param advDevicerelationId 主键
     * @return 结果
     */
    public int deleteAdvDevicerelationByAdvDevicerelationId(Long advDevicerelationId);

    String syncDevice(AdvDevicerelation advDevicerelation);

    boolean changeDefault(AdvDevicerelation advDevicerelation);

    String syncLive(AdvDevicerelation advDevicerelation);

    String removeById(String devicesno, String advBroadcastId);

    SimpleResult updateVoice(AdvDevicerelation advDevicerelation);
}
